Carbon


WaitMouseUp

Header: Events.h Carbon status: Supported

After receiving a mouse-down event, determines if the user subsequently released the mouse.

Boolean WaitMouseUp ();
DISCUSSION

The WaitMouseUp function looks in the Operating System event queue for a mouse-up event. If it finds one, the WaitMouseUp function removes the mouse-up event from the queue and returns false. If it does not find any mouse up events pending in the Operating System event queue, the WaitMouseUp function returns true.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)